<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>旭文科技</title>
        <link type="text/css" rel="stylesheet" href="/media/css/all.css" media="all" id="mystyle" charset="utf-8" />
        <link type="text/css" href="/media/js/jquery-ui/jquery-ui-1.8.1.custom.css" rel="stylesheet" id="uistyle" />
        <link rel="stylesheet" type="text/css" media="screen" href="/media/css/ui.jqgrid.css" />
        <script type="text/javascript" src="/media/js/jquery-1.4.2.min.js"></script>
        <script type="text/javascript" src="/media/js/jquery-ui-1.8.1.custom.min.js"></script>
        <script src="/media/js/grid.locale-cn.js" type="text/javascript"></script>
        <script src="/media/js/jquery.jqGrid.min.js" type="text/javascript"></script>
        <script type="text/javascript" src="/media/js/global.js"></script>
        <script type="text/javascript" src="/media/js/index.js"></script>
        <script charset="utf-8" src="/media/js/My97DatePicker/WdatePicker.js"></script>
        <script type="text/javascript" src="/media/js/catalog/catalog_admin.js"></script>
        
        <script type="text/javascript">
            $(function() {
                $( ".delete" ).button({
                    icons: {
                        primary: "ui-icon ui-icon-trash"
                    },
                    text: false
                });
                $( ".edit" ).button({
                    icons: {
                        primary: "ui-icon ui-icon-pencil"
                    },
                    text: false
                });
                $('#add').button({
                    icons:{
                        primary:"ui-icon ui-icon-plusthick"
                    },
                    text:true
                });
                
                $('#back').button({
                    icons:{
                        primary:"ui-icon ui-icon-arrowreturnthick-1-n"
                    },
                    text:true
                });
                
                //提交按钮样式
                $( "input:submit").button();
                 //提交按钮样式
                $( ".button").button();

            });
        </script>
    </head>
    <body>

        <div id="do_header">
        <!--<h1><a href="#"><img src="logo.gif" alt="Shadmin"></a></h1>-->
            <div class="menu">Welcome
                <?php
                if ($user = User::instance()->logged_in()) {
                    echo '<font color="#0073EA">'.$user['chr_username'].'</font>';
                    ?>
                    | <a href="/admin/user/password/<?php echo $user['chr_uid']; ?>">修改账号</a>
                    <?php
                }
                ?>|
<!--                | <a href="/admin/user/edit">修信息</a> | --><a href="/admin/user/logout">退出</a></div>
        </div>

        <!--<div id="do_nav">
                <ul>
                        <li><a href="">订单</a></li>
                        <li><a href="">产品</a></li>
                        <li><a href="">国家物流</a></li>
                        <li><a href="">管理员</a></li>
                        <li><a href="/admin//sys/site/list">系统管理</a></li>
                        <li><a href="/admin/site/doc/list">站点1选中</a></li>
                </ul>
        </div>-->

        <div id="do_sub_nav">
            <ul>
                <li><a href="/admin/sys/add">网站配置</a></li>
                <li><a href="/admin/news/list">新闻管理</a></li>
                <li><a href="/admin/advtype/add">广告管理</a></li>
                <li><a href="/admin/organization/list">管理员管理</a></li>
                <li><a href="/admin/singlepage/add">模型管理</a></li>
                <li><a href="/admin/visa/add">旅游管理</a></li>
                <!--
                <li><a href="/admin/site/email/list">邮件配置</a></li>
                <li><a href="/admin/site/doc/list">页面管理</a></li>
                <li><a href="/admin/site/report/list">统计报表</a></li>
                -->
                <!--
                <li><a href="/admin/site/image/list">图片接口</a></li>
                -->
            </ul>
        </div>
<?php 

//echo $bread;

?>
        <div id="do_wrapper">

            <?php
//输出可能会有的操作反馈信息：

            echo message::get();

            echo $content;
            ?>
        </div>

        <div id="do_footer">
            <span class="left"><a href="#">Dashboard</a> | <a href="#">Clients</a> | <a href="#">Reports</a> | <a href="#">System</a></span>
            <span class="right">© 2009 Shadmin. All Rights Reserved.</span>
        </div>
        </div>
    </body>
</html>
